package com.google.code.chaotic.client;

import java.util.List;

import com.google.code.chaotic.dto.CommuterDto;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("commuter")
public interface CommuterService extends RemoteService {

	public String createCommuter(CommuterDto commuterDto) throws NotLoggedInException;

	public void deleteCommuter(String id) throws NotLoggedInException;

	// TODO: Must be removed before roll-out
	public List<CommuterDto> listCommuters() throws NotLoggedInException;
}